package test01;

public class Students {
    protected String name;
    private int score1;
    private int score2;
    
    public Students(String name, int score1, int score2) {
        this.name = name;
        this.score1 = score1;
        this.score2 = score2;
    }
    
    public int calculateTotalScore() {
        return score1 + score2;
    }
}


